package cn.pengpeng.day02.collectionLog;

import java.util.Timer;

public class StartUp {
	public static void main(String[] args) {
		Timer timer = new Timer();
		//收集并备份日志
		timer.schedule(new CollationLog(), 0, 60*1000);
		
		//清理日志
		timer.schedule(new CleanTesk(), 0,60*60*1000);
	}

}
